james | adding handling of systemexit calls