updated python commands