Change file_exists to File::exists in Scripts