rename folder names of inputs and outputs such that they are at the top of folder list