make s3 cfg file in smarter place