Started working on an install script (also, a bunch of other changes)