Better detect external sources