Corrently detects if a script file is not found