Added functional !history command