diff --git a/bin/Makefile.am b/bin/Makefile.am
index a7fd979dc7b953c1380f70239781bd8ca9dba91f..08092059a65c987ea94e7cdde6b163f2978b5fe0 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -8,7 +8,8 @@ bin_SCRIPTS =	build_word_list.py		\
 		pos_tag.py			\
 		lemmatizer.pl			\
 		eval.py				\
-		run_learning_curves_exp.py	
+		run_learning_curves_exp.py	\
+		plot_learning_curves.py
 
 CLEANFILES =	build_word_list.py		\
 		build_tag_dict.py		\
@@ -16,7 +17,8 @@ CLEANFILES =	build_word_list.py		\
 		pos_tag.py			\
 		lemmatizer.pl			\
 		eval.py				\
-		run_learning_curves_exp.py
+		run_learning_curves_exp.py	\
+		plot_learning_curves.py
 
 BUILT_SOURCES =	build_word_list.py		\
 		build_tag_dict.py		\
@@ -24,7 +26,8 @@ BUILT_SOURCES =	build_word_list.py		\
 		pos_tag.py			\
 		lemmatizer.pl			\
 		eval.py				\
-		run_learning_curves_exp.py
+		run_learning_curves_exp.py	\
+		plot_learning_curves.py
 
 EDIT = perl -pe "s|\@datadir\@|\$(pkgdatadir)|g; 	\
 		 s|\@libdir\@|\$(pkglibdir)|g; 		\
diff --git a/src/metagger/pos_tagger.py.in b/src/metagger/pos_tagger.py.in
index e60b0060b12e98c973536ac05295e6a95db08d2b..eed9a7176936afd8d2cf5e92116d75ab80a718fe 100755
--- a/src/metagger/pos_tagger.py.in
+++ b/src/metagger/pos_tagger.py.in
@@ -46,6 +46,8 @@ class POSTagger:
         print >> sys.stderr, "Training POS model..."
         self.classifier.train( train_inst_file, paramfile=model_path, \
                                prior_prec=prior_prec, quiet=False )
+        print >> sys.stderr, "Clean-up data file..."
+        os.unlink(train_inst_file)
         return