use the new way of registering an addon