azure deploy fix with gists from https://gist.github.com/JuanKRuiz/cf15fc0af43a597eda81