automate publishing - refs #31