make escapeshellcmd optional