added publish script for s3