replaced single quotes by quotes, escaped quotes in string where necessa...

...ry