upgrades to3.0.97 and performance tweaks