replaced home path to ~ in success message