modified python directory