initial work on metadata cli arg
switched to using json values
removed cout
a little streamlining
using local var s
removed old decls
nightly build