added static, media, and template variables