Replace prelude in pipeline when reset is called