Fix bug where install was not working on dev. Refactor step2 of the install.