diff --git a/app.js b/app.js
index 4892eeee2d96fbdeb5e5c6412f2ae5e55d613a98..5dd508af2c18a4df144fa0fd5a7f4d6c1ad92b83 100644
--- a/app.js
+++ b/app.js
@@ -43,6 +43,7 @@ app.set('zipFunctions', zipFunctions);
 //clientCounter holds the number of clients who wants to download files
 let clientCounter = 0;
 app.locals.clientCounter = clientCounter;
+
 //routes
 require('./routes/home.js')(app);
 require('./routes/download.js')(app);
diff --git a/public/javascripts/backendFunctions.js b/public/javascripts/backendFunctions.js
index a39b8235792ba8d5958e6cfd1fd052c2716c344a..db3d7745d0c5a8e99971e5490be6fc4031bdfcc3 100644
--- a/public/javascripts/backendFunctions.js
+++ b/public/javascripts/backendFunctions.js
@@ -3,10 +3,11 @@
 	
 //These functions handle everything regarding the backend of ExplorViz except adding it to the zip. Each will return a Promise.
 
+
 function prepareClientFolder(clientName, fileName){
 	return new Promise((resolve,reject)=>{
 
-		exec('cp -R ' + fileName + ' ' + clientName + '/',(error,stdout,stderr)=>{
+		exec('cp -R ' + fileName + '/ ' + clientName + '/',(error,stdout,stderr)=>{
 
 			if (error) {
 				reject(error);