Slightly improved error handling if script not found