adding python configuration