diff --git a/Makefile b/Makefile
index ada504fbcc95de57842fd661a1b9e18175133e1f..5ac821e18027ab3cd091be518668e01eac67cb64 100644
--- a/Makefile
+++ b/Makefile
@@ -128,9 +128,13 @@ source:
 appstore:
 	rm -rf $(appstore_build_directory)
 	mkdir -p $(appstore_build_directory)
-	tar cvzf $(appstore_package_name).tar.gz ../$(app_name) \
+	echo "building $(appstore_package_name).tar.gz from directory "
+	echo $(pwd)
+	tar cvzf $(appstore_package_name).tar.gz \
 	--exclude-vcs \
 	--exclude="../$(app_name)/build" \
+	--exclude="../$(app_name)/.git" \
+	--exclude="../$(app_name)/vendor" \
 	--exclude="../$(app_name)/tests" \
 	--exclude="../$(app_name)/Makefile" \
 	--exclude="../$(app_name)/*.log" \
@@ -150,6 +154,7 @@ appstore:
 	--exclude="../$(app_name)/protractor\.*" \
 	--exclude="../$(app_name)/.*" \
 	--exclude="../$(app_name)/js/.*" \
+	../$(app_name)
 
 .PHONY: test
 test: composer
diff --git a/README.md b/README.md
index 210ef49da9fe1190891f1d7a5d5ee9acf99543c6..ff8d6612ade002c68b9c80a7438c301ca6893b02 100644
--- a/README.md
+++ b/README.md
@@ -83,3 +83,7 @@ Response:
   </data>
 </ocs>
 ```	
+
+
+## Example script to sync members of a Nextcloud group to a Mailman mailing list
+
diff --git a/composer.json b/composer.json
deleted file mode 100644
index 5d8d42f81237db8427c1208ef2aff3ce6ab60db5..0000000000000000000000000000000000000000
--- a/composer.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-    "name": "opentools/secondary_mail",
-    "description": "Enter a secondary email and specify which e-Mail should be used for external communication",
-    "type": "project",
-    "license": "AGPL",
-    "authors": [
-        {
-            "name": "Reinhold Kainhofer"
-        }
-    ],
-    "require": {},
-    "require-dev": {
-        "phpunit/phpunit": "^5.4"
-    }
-}
diff --git a/js/script.js b/js/script.js
index 7ea46c3e08e5a14d12d3935ecb62c40779d78634..ed7c2809d4496782bcc657a40e31edf44de80a52 100644
--- a/js/script.js
+++ b/js/script.js
@@ -57,22 +57,6 @@
 		return OCA.Secondary_Mail._submitChange($(e.target));
 	}
 
-	function _submitChangeOLD(e) {
-		if (OC.PasswordConfirmation.requiresPasswordConfirmation()) {
-			OC.PasswordConfirmation.requirePasswordConfirmation(_.bind(_submitChange, e));
-			return;
-		}
-		var url = OC.generateUrl('/apps/secondarymail/settings');
-		let target = $(e.target),
-			key = target.data('setting'),
-			value = target.val();
-		if (target.attr('type') === 'checkbox') {
-			value = target[0].checked ? 'true' : 'false';
-		}
-		$.post(url, {key, value});
-		return true;
-	}
-	
 	initialize();
 })();
 
diff --git a/js/secondarymail-test.js b/js/secondarymail-test.js
deleted file mode 100644
index c7e3ed4170da2d5b87bb4ce2a0ef7f5a73e343bc..0000000000000000000000000000000000000000
--- a/js/secondarymail-test.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * @author Reinhold Kainhofer <office@open-tools.net>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-// 'use strict';
-alert("Main script.js loaded");
-
-
-(function () {
-	function initialize() {
-		$('#mailsSecondaryUse1').change(_submitChange);
-		$('#mailsSecondaryUse2').change(_submitChange);
-		$('#secondaryemail').keyup(function(e) {
-			if (e.keyCode == 13) {
-				_submitChange(e);
-			}
-		}).focusout(_submitChange);
-		
-		alert("initialize for secondaryMail");
-	}
-	
-	function _submitChange(e) {
-		var url = OC.generateUrl('/apps/secondarymail/settings');
-		let target = $(e.target),
-			key = target.data('setting'),
-			value = target.val();
-		if (target.attr('type') === 'checkbox') {
-			value = target[0].checked ? 'true' : 'false';
-		}
-		$.post(url, {key, value});
-		return true;
-	}
-	
-	alert("Loaded, vor initialize...");
-	initialize();
-})();
-
-alert("Main script.js loaded");