Add log and tmp directories