Output directory now is automatically set.