import variables script = open("build.sh", "a") script.write("#!/usr/bin/env bash\n") if variables.trackgames == True: script.write("python3 generategames.py\nrclone copy gamebuild " + variables.rclonesiteroot + variables.serverpath + " -P") script.close()