+Fixed if line counter
+Added throws in export/import