added missing license blocks
added a missing check for the provider key