made fuel cell script into 2 generic scripts