Utilise Location Variable

Check for Location Variable and change searches for requested - install_directory to location.