Use substitution with magic option