Made changes to work with new version of BOTO