added lines to borg.py