reworked queue functionality and glacier upload pipe