Add PRE and POST script calls to DAG.