change loading of template

was loading it via http for no reason.