split the install command onto 2 to have more flexibility