Added output file check when executing the script