pooling refactored
Bugfix: postcommands without specified output directory

previously, post commands without a specified output directory would
exit