Moved revert feature into profile file to ensure they are execute last