fixed the history command and added command shortcuts