Changed import to use absolute module path. These should work on this module being run directly (with sys.path manipulation) and via -m argument to python interpreter.