Ark
* Fix double injecting of head content * Refactor * Changeset * Break into a separate util fn * fix oops * remove unused code