fix --s3-host and introduce --default-replica
add newline to last line in config too