Fixed change page script with help of Patrik