rework template pathing