Zza: get metadata from generated metadata script file
Many zza refactorings (should have been separate commits ... oh well)