Adding automatic page listing