Continued work on AlgalStates script