Update Functions.dm

ZAS adjustments