Exporting fully works, also added predicate case assign to input that can be checked
Parser is now order independant for importing