Replaced hardcoded urls with their respective template variables.