Added latest updates to scripts, replaced last remaining js script with C#