Fixing regression for capturing with native scripts