Add land to file check + limited fix of file out (debug works release doesn't)

See title.