handle quoting of commands in worksheets