Update for seaport 1.4

could u review and pull if its ok? 
i believe this could be handy for others too