Rename `input_dir` everywhere