Can now detect current program.