Checking whether the project and  script file exist