Added funcs to autorrent.py.