simple publishing script