updated the seasawaction in the main code