Fixed minor issue with cmd string.