Change log policy
Fix home folder expansion issue