It was just a minor logic error resulting from moving the water flowing code into it's own file when I originally imported it. Many thanks to Mauvebic for writing it!
and doesn't move water yet - but at least it doesn't break anything :-)