BUG: reconfig.script was not reconfiguring the list of CASES with listCases.txt correctly

The extra space character before 'CASES' was being removed after the first reconfiguration and when one wanted to reconfigure the script a second time, the list of cases was not being replaced anymore.