updated driver detection to allow the user to overide the segment to check for driver alias by addint it as teh first parameter to the function