Use variables on template