Updated directory pointers to be correct no matter what directory the script is run from