Adding a cleaning script and making some changes to mkdir