Updated installation to include global flag