add clean options, check data dir, update json example