adding scriptManager to app
modifying exec methods to call scriptManager