made it so pages would reload