changed working directory to /tmp for better throughput