Add templates generation to production task