reset home before script ends