Rewrote the installation process, added 1.7.4 support