Removing hardcoded URLs from templatee