added --use-mirrors option