Conditionally show metadata

This should allow metadata to be shown when desired.