Added multiple template support
Modified context dropdown to select templates