updates to metadata compiler