Add log and temp directories