Updated the publish script.