Implement discover.py