implement script to publish site