How to make a fabricator run on gas or electricity

I’ve updated it, and the fuel strings are backwards.