Modified install script(UNFINISHED)