Move app to own script