added minify flag to publish script