support for python and some other minor updates