make pubsub path variable