Cleanups and convert deprecated GREP_OPTIONS into alias.