Added global switch to turn off automatic agent installation for manual testing