Sr jk fixing adams comments

Use `%q` only for strings that contain both single quotes and double quotes.