Modified to use updated PyBarobo library