New script translate

Add missing function