Removed all the prerenders and added code to query alter. Added pager…