added script call to cordova