added the assumption that if no repo path is supplied, then the script must have been included with the repo, so we will use "." instead