submodule update
chdir before/after each cordova command, since sometimes it leaves us in the wrong dir