make queue use configurable