updating to use curl instead of apt-get which doesn't seem to install to required location