Improve transition command