Fixes build, add "mainnet" again and fixes uri