Completed constants-generation script