externalize bitcore