Fixed script file to cd to app dir resolving symlinks