added a progress bar: https://pypi.python.org/pypi/progressbar/2.2