added free.py for mac