using single tmp dir instead of separate dist