properly escape $'s in EUMM snippets