reordering to group url manip
move check for base tag rewrite up a level in the call stack, abstract external reference to support and mobile objects
fix
correct the order of page creation and move attr manip in with it