changed script path from user home to app dir