adding python version and some minor fixes