removes variable substitution from control script