added tmp dir and thread-dumper