Gotcha, thank you!
For anyone else reading this for reference, you can reset the names of each variable by setting it to itself. Saving the project as early as possible, and then using doc.save() later saved me a few headaches. For example, I set the working directory at the beginning of the script, and then reset each setup variable to itself, which seems to stick for the rest of the script. Ugly, but better than the alternative:
# Variables
workingDir = "C:\\Users\\username\\Desktop\\testfolder"
projectName = "testFileName"
# Save
doc.save(path=workingDir + "\\" + projectName + ".psx")
# Reset variables
workingDir = workingDir
projectName = projectName
# Process: