Remove die

So that ajax_import_option can be called outside the framework
Revert 769b6be..402cc00

This rolls back to commit 769b6be9b29e51fa02be5a34c1e28db404d3ab7e.
Revert to before removing die from import function

Making changes to import as a class extension instead
Revert "Remove die"

This reverts commit 402cc00f28b2ff44d023801be874fe61b4ef9422.
Revert 402cc00..1b3a934

This rolls back to commit 402cc00f28b2ff44d023801be874fe61b4ef9422.