improved help text, added options -r and -m