saving hg config script