Fix for publish script