buildhive integration, restructuring using texts.io, fixed linefeeds