Adding slashes

Using addslashes instead of changing double quotes to single quotes, as discussed.