autoRemoveTmp option added