corrected tmp directory path
now using environnement variable as config