Updated the installation process and fixed a few minor bugs