Cleaned up imports
Fixed bug in clean_scan

Can't slice enumerate object.