seas_ens cycle script before cleaned up and functionized