redirection to stderr
misc modifications
more patterns