change strings to single quoted if they contain no special characters
change double to single quotes where possible