Added a global flag