freq.py should now work, mostly