further refinements to python and ruby environments