getting thing working for python and local deploy