Removing generated page and adding resume page