Added deleting of temp folders according to configuration fiel