Remove grep function. Not needed; broke stuff.