typo with !=
simplification after tests (IN/TEST + OUT/TEST)
less calls to Process.simplfy (only last ones) (better perf.)