cleaned up logs. Added extra parameter to upload functions to account for 'self'