I don't think I can use which, because I want the user to be able to specify the full location of their custom script, which may well not be in the default path.