created publishing script.