updated cmd to work with 1.8