mkdir before command exec