Add a possibility to specify the temporary folder