Refactored parse transform into an extraction script instead