simplify and escape_for_shell