Fixing site-publish script