changed get variables,how the last version is retrieved and how items are retrieved. Added get zotero connection