How to use Generated Cost on ShipEdge