Added dynamic prerun_command and postrun_command handling