redirect output for grep
use absolute paths for binaries