Fixed some problems, fixed the transition command.