~script determines absolute path to repo, should now be executable from any path