change variable substitutions