Reformat select_page_direct()