Improved pages commit