new install logic