Fix for runModels system2 call to switch to each directory