changed script file for app