Add detection program