I'm surprised to not find any quotes here. Most likely, everything with a `$` should be put in double quotes in order to have it escaped.