Restructure installation process for various environments