Test further tweaks to detection script