run command improvements