fixing more path stuff and grep