add method to install deps if they are unavailable