upgrading deprecated cli run command