version.py added
fixed several index-mapping bugs caused by sleazy programing