Prepare Config file for pagination