Modified greps to work on my machine

Also edited error notifications