Fixed issue where command would not clean up after it was done