Updated to create homefolder if not exist