Added '--init' flag to force overwriting of existing files