Add hooks action_run_{start,end}