Added needed escape characters for variables within string