[TASK] Detect and assign template paths for extension