files updated to work with python3 - not completely tested