Fixed bug where app.js was not executed from run scripts