formating publish shell script.