base node and publish script