choose the default page using a variable instead of hard-coded randomly