Save the pdb during the simulation
Add wrapper to run masters headless