Working Juniper upgrade/downgrade firmware template. This template is only for ELS versions of Junos but can be modified easily for non-ELS versions of Junos. This template does the following.
1. Creates individual helpful preupgrade information in case troubleshooting is necessary post-upgrade
2. Archives those files and copies them to a SCP server
3. Downloads the install file, with the {SubFolder} macro for multiple installs, to the /var/tmp/ folder
4. Runs install and reboots.