Test furtheer tweaks to detection script