Summarize meta data

Includes date and sample type in the macro
Updates macro for a constant order