Rewrote pages system