fix syntax errors, no longer import System.py