diff --git a/osx/hexchat.bundle b/osx/hexchat.bundle
index 0ed14b6c..dd3dff33 100644
--- a/osx/hexchat.bundle
+++ b/osx/hexchat.bundle
@@ -15,7 +15,7 @@
${prefix}/bin/hexchat
-
${prefix}/lib/${gtkdir}/modules/*.so
diff --git a/osx/launcher.sh b/osx/launcher.sh
index 19915b4a..05b70076 100755
--- a/osx/launcher.sh
+++ b/osx/launcher.sh
@@ -39,6 +39,8 @@ export PANGO_SYSCONFDIR="$bundle_etc"
#export PYTHONHOME="$bundle_res"
#export PYTHONPATH="$bundle_lib/python2.7:$bundle_lib/python2.7/site-packages"
+export HEXCHAT_LIBDIR="$bundle_lib/hexchat/plugins"
+
APP=name
I18NDIR="$bundle_data/locale"
# Set the locale-related variables appropriately: