abstract out meta/script code into includes