setup the publish plan