Added smartcheck and smartlog.