Fixed the functions in Functions.ahk