moved from s3curl to aws for S3; split PURGE_ARCHIVES into separate LOCAL/REMOTE settings; improved intelligence when purging old archives; added email notifications for times when things go wrong