add in temp dir config, better docs