modified python import