add EOF newline,removed options call