Close #7 generated scripts takes into account folders with spaces