moved print tmpdir to the bottom so it is easier to find it... -sai