Tugs central to contracts between ships and ports