updating to handle 3.3 & 2.7 python versions