Added warning, removed tempdir