Switched order of require directives.
Split editBoot to a seperate script.