added write input for S3 and function to call AERMET