Swapped sloppy code on all pages for slightly better functions.