Confirm this approach works :)
It solved the CROS issue yet decouple the internet requirement
https://gist.github.com/gbishop/9803b7ecc50b1930407ef4b98d1ba7c9