Track whether scan was started by us or an external program