fix onboarding not using optimize cpu option
* fixed chdir home bug * fixed some tests creating normal data dir