Improved installer function

Better determination of path.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>