Add a flag for adding cordova script
fix merging