updated scripts to mkdir