added ways to store, load and print index through python cgi