added support for template in version 8.0
Signed-off-by:shawnsandy <shawnsandy04@gmail.com>