How energy companies use custom software to build resilient digital infrastructure