Fix the root install problem, had to adjust the install cmd function