Templating solved for now, hacky, crappy solution though.