Fix local script function name