New install function.