add support for scriptfields