added dynamic temporary folder (os based)