changed from single to double quotes due to problem with scope as
sql strings