Fix for #698: Non-async scripts were not executed before Reveal started

Using the dev branch this time, fixed tests