Escape $'s in e in bash. Hopefully why it failed.