aws sdk for php added, fixed conflicts in application.php and download.php