tidying up before integration with OpenTidalFarm