Raise an error if script does not exist.