Removed need for absolute path to script directory