added new functionality to do local installs