See readme and Gist https://gist.github.com/lcharette/02267bf4885776df5f8f