Fixing grep script.