Use single quotes for the string if it contains double quotes (rule: avoid needing to escape quotes at all costs). Also please add a comment about when `w_scope` can be None,.