moved to python3, added script classes