lineend order swap
dump output script
todo update