change url sent in template to allow for custom handling