adapt script example to new reflectionzeug api