fixed error that prevented the script flag from being passed in as a relative path