implemented escaping via $$ cmd prefix