Add define generation script