Added checking for run.sh file existence