Template service updated to pick URL from Discovery Document