Reverted main.py to collector.