updated amazon S3 module, libraries file and htaccess changes