Add background and pubsub