Run executables _after_ generation has finished.

In particular, the generated application is run after the copyFiles have been placed. This is a fix for a regression that was introduced after the last release version.