add logic for uploading the packages