diff --git a/backendFunctions.js b/backendFunctions.js
index 04829efda59efd49d774be2a19ffb7b5b0abb642..aa223d60bf324600a0f52e973ed58cdf7500ccf7 100644
--- a/backendFunctions.js
+++ b/backendFunctions.js
@@ -51,8 +51,8 @@ function backendInstallAddons(checkedFiles,downloadFiles){
 		if(checkedPlugins.length !== 0 ){
 
 			checkedPlugins.forEach((pluginName) => {
-				//TODO want to copy everything in backend-plugin except .git, workaround for now: ./demo/
-						exec('cd '+ pluginName + ' git pull ' + ' && cp -R ' + ' ./demo/ '+' ../explorviz-ui-backend/plugins/net/explorviz/plugins/ ', (error, stdout, stderr) => { //'cd explorviz-ui-backend/plugins/net/explorviz/plugins/ ' + 
+				
+						exec('cd '+ pluginName + ' git pull ' + '&& rsync -av . ' + ' ../explorviz-ui-backend/plugins/net/explorviz/plugins/ ' + ' --exclude .git', (error, stdout, stderr) => { //'cd explorviz-ui-backend/plugins/net/explorviz/plugins/ ' + 
 							
 							if (error) {
 								reject(error);