add helper functions, update apsimEX
edit example runs