begin generating spec files consistently: codes a bit of a mess