Changed image storing from local to AWS S3