Localsave

resolves issue #3