Fix undefined method []= error.
Improving path(s) work. Default dir is tmp/ now.