made print option work with only metadata file; improved metadata checking in wrapper script;
mostly comments