flavors adding and checking script