Added proxy and global locations support
Modified install.sh script