Script language 2

Updates #11744. Thanks @ariya!