Scriptify extract_points.