add command halt and pwd