Rewritten install script with comments