Removed unused imports. Set default output dir.