Added toggling of metadata