Get substitutions working.