add discovery.flg for testing