upgraded the duffel script