Added lastCommand
Added commands