better grim function w/ multiple args; bugfix on -d param for grev