CORE-449 Exporting throws Script Error