for reference the ghpython script