Minor changes to wodi.py