moved scriptland gramer function to str_grammer in core