Adds unmounting support to seagate script