Refactor folder structure. Putting configuration files and namelists inside the corresponding case folder.