log and temp dir move to app