Refactored to move when pre execute it executed into the main pipeline exec