Moving bin/prepublish script to publish.