Update script file for PhoneGap build