made install location a parameter