diff --git a/bin/account-manager-client.pl b/bin/account-manager-client.pl
index 824873576859214621b2c9b7792e943b30730e9d..ce560654fe0b56e5582790595abff884433d958d 100755
--- a/bin/account-manager-client.pl
+++ b/bin/account-manager-client.pl
@@ -9,8 +9,7 @@
 
 use strict;
 use utf8;
-use lib "/opt/testidp/IdPAccountManager/lib",;
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use Getopt::Long qw(:config auto_help);
 use POSIX;
diff --git a/bin/account-manager-web.pl b/bin/account-manager-web.pl
index c6697e3b15a1f4109a663042fdecb3055a3ab15e..50080aebc5abcd6cfe74f5aafc231a1f50390653 100755
--- a/bin/account-manager-web.pl
+++ b/bin/account-manager-web.pl
@@ -9,8 +9,7 @@
 
 use strict vars;
 use utf8;
-use lib "/opt/testidp/IdPAccountManager/lib";
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use CGI;
 use CGI::Cookie;
diff --git a/bin/create-database-code.pl b/bin/create-database-code.pl
index 1c8f2651ca0e0c99590de439e112dc42d06c1850..6bec69c8a39031b8c4712e15831827baa8bf7d11 100755
--- a/bin/create-database-code.pl
+++ b/bin/create-database-code.pl
@@ -1,8 +1,7 @@
 #!/usr/bin/perl
 ## Initialize Rose::DB code given the DB structure
 
-use lib "/opt/testidp/IdPAccountManager/lib";
-use lib "/opt/testidp/IdPAccountManager/conf";
+use lib qw(lib conf);
 
 use Rose::DB;
 use Rose::DB::Object::Loader;