update install to be a little smarter