Fixed end command not displaying correctly when using flatfile