added case insensitiveness to grep