Better intdir and outdir