modified nef_cleaner.py