added require so template can see variables.