Fix python and update config