Added use of Python shelve