split local and s3n