Added preamble to editor