Changed the endCommand behaviour