Updated uploadS3.php