Update to use srun for postpublish