Add a check to see if the file exists already to avoid re-running