added max_page_size property to config and file