added home path code