I'm doing several steps, such as minimization and equilibration, to start running MD simulations and I'm trying to automate this process by running one step after finishing the other. When I go between different steps, I need to provide a PDB file from the last frame of DCD. Is there any way to tell it to write this PDB file within the NAMD configuration file? I've been doing it manually by loading DCD then PSF in VMD and saving the last frame as PDB, which is not ideal for automation.