update for Ubuntu, add auto load/save session