add functions to auto refeul and auto restock
a few tweaks, for some reason the old timer function stopped working
also some missing brackets!!