New SCRIPT_IMPORT_FAILED status

Set when script filter failed.
Code cleaning