Moving hard-coded page count to a config variable