Modify mkdir in mkdir -p on line 121 and 122