Fixed missing mkdir variable