Removing need for mkdir tmp