Adding pre/post_job hook support