Added cd to app dir so script can utilize relative paths.