changed the style model to save images to s3