combined final into flash so that the script is just one step.