Add template functionality to desktop tool