updated to throttle downloads and improve performance