adding python command processing