I have a couple of use cases where the core might already exist so check first so we don't get errors.