diff --git a/LuaInterface/Libs/luaperks.7z b/LuaInterface/Libs/luaperks.7z
index 1aba75963e..270c8cc6df 100644
Binary files a/LuaInterface/Libs/luaperks.7z and b/LuaInterface/Libs/luaperks.7z differ
diff --git a/References/x64/LuaInterface.dll b/References/x64/LuaInterface.dll
deleted file mode 100644
index 6da5e20f13..0000000000
Binary files a/References/x64/LuaInterface.dll and /dev/null differ
diff --git a/References/x64/lua51.dll b/References/x64/lua51.dll
deleted file mode 100644
index 005c2b2424..0000000000
Binary files a/References/x64/lua51.dll and /dev/null differ
diff --git a/output/dll/LuaInterface.dll b/output/dll/LuaInterface.dll
new file mode 100644
index 0000000000..0ce2ca51cc
Binary files /dev/null and b/output/dll/LuaInterface.dll differ
diff --git a/output/dll/lua51.dll b/output/dll/lua51.dll
new file mode 100644
index 0000000000..fd053342d1
Binary files /dev/null and b/output/dll/lua51.dll differ
diff --git a/References/KopiLua.dll b/output/dll/nlua/KopiLua.dll
similarity index 100%
rename from References/KopiLua.dll
rename to output/dll/nlua/KopiLua.dll
diff --git a/References/NLua.dll b/output/dll/nlua/NLua.dll
similarity index 100%
rename from References/NLua.dll
rename to output/dll/nlua/NLua.dll