Added a function that would set a prefered home path instead of just having a hardcoded fallback.
(It is still there in case someone does not use the new Home function).