Add pagination and wordpress importer script