don't clobber existing dirs
fix argument handling