start of output frame, need to add templates and plugins