Fix python path. Call SetAutoCmd correctly