template loading as per task