fix run command in python