removing pre_exec