Moved this to the config
Slight regression, for directional substitution
Fix substitution parsing; ignore 's/' in urls