add lua mode
autosave files to ~/.saves