Improved data management in s3 bucket.  Fixed resize callback.