Add restore and check command