Updated for s3 sqar caching and custom log4j setup.