reading cofig from s3