Fixed a bug in the ls-files being executed on load.