Index: app/src/tok/tok
===================================================================
--- app/src/tok/tok	(revision 246900abc92b7d822ca17bd69aeb06d2b30db588)
+++ app/src/tok/tok	(revision 20b4e44e7537762f6aceb72b039f6e8f8a50e201)
@@ -1,6 +1,13 @@
 #!/usr/bin/perl
 
+#package:	UAM Text Tools
+#component:	tok (tokenizer)
+#version:	1.0
+#author:	Tomasz Obrebski
+
+use strict;
 use locale;
 use Getopt::Long;
+use File::HomeDir;
 
 my $interactive=0;
@@ -8,5 +15,6 @@
 
 my $systemconfigfile='/usr/local/etc/utt/tok.conf';
-my $userconfigfile="$ENV{'HOME'}/.utt/tok.conf";
+#my $userconfigfile="$ENV{'HOME'}/.utt/tok.conf";
+my $userconfigfile=home()."/.utt/tok.conf";
 
 #read configuration files###########################
