adding a pre_run signal