Get pages commands working. Lots of updates.