updated batstat to python3