But since the app takes 15-45 seconds to launch I need to add one line.
When I add this line I get an error message and the app throws the attached error message. In fact if I add anything to the load script (i.e. sleep, wait, etc.) this error message pops up and then the app loads with the appropriate frame and a completely black screen.