Convert double to single quotes and other minor changes.