Try having your script first 'cd' into the directory where your app is