fix prereqs
create temp dir in tmpdir