Fix env header step not running in preflow