added flag to mkdir system command.