Fix OSSave and made Google app engine freindly