Adjusted Publish Script