Changed badge hook to be called with metadata in labelCreator