How to make a fabricator run on gas or electricity

@DefaultCoder
I also have problems with that I can not switch back, can you please give me also the link?
Thanks in advance