readded AWS upload functionality