edit/head: move admin preparation to separate include