modified to have server targer and client dist path updated