New scripts for estuary analysis