use $GREP instead of grep