Fix Functions File