Added support for loading a saved session