replace_in_file, set_hostname, bugfix for merge_from