Ash didnt exist for me, so I rechecked through your code and saw that you accidentally forgot to add it in, so i added ash for you, I could only get it to turn into oil from high pressure, so you might need to rewrite it a bit.
https://www.dropbox.com/s/jig5268vv1qk2lz/Bacteria%20Mod.lua?dl=0
oops
btw the full bacteria mod (with ash!) along with lots of other stuff i made is availible in two (it's split up) scripts i made (TPTRemadeVA and TPTRemadeVB)
where do i put the script?