upgrade to 3.1.6 and partial fixes for python issues (nfy)