Issue #27. Rewrite script in Python