changed escaping in runcommand