restoring the part where we need to install deps

reverting a previous bad merge.  probably shouldn't of been merged in the first place.