Add escaping of single quotes