Fixed spelling error Previosly -> Previously. Updated to work with S3