all scripts converted to c#