added some logic to update... package manager was failing... yes, this shouldn't be in bash... at some point I'll change that, just trying to get things working