a better version of install script, now it has to be able to update as well (todo)