be dynamic about cache & log folders