Write hLinesOut using autoM