modified grep path