diff --git a/configure b/configure
index 9c6e7544472870152afc3991b4a307dfc3b03420..fa76621e5d042c487ef003aee9b902e35d72ed04 100755
--- a/configure
+++ b/configure
@@ -22,14 +22,21 @@
 # ** end header
 #
 
+echo "CURRENTLY NOT SUPPORTET"
+exit 1
+
+if [ -z "$UTILSPATH" ]; then
+    UTILSPATH="$(realpath $(dirname $0)/utils)"
+    export UTILSPATH
+fi
 
 # defaults
 source config.defaults
 OPTIONS=$(sed -r '/^(#|\s*$)/d' config.defaults | sed -r 's/=.*$//g')
 
 # override with old config
-if [ -e .config ]; then
-    source .config
+if [ -e $MAINPATH/.config ]; then
+    source $MAINPATH/.config
 fi
 
 # DEBUG - print all options:
@@ -77,12 +84,12 @@ fi
 # DEBUG - print all options:
 # for opt in $OPTIONS; do echo $opt = ${!opt}; done
 
-# write to .config
-rm -f .config
+# write to $MAINPATH/.config
+rm -f $MAINPATH/.config
 for opt in $OPTIONS; do
     esc_hash=${!opt//#/\\\#}
     esc_dollar=${esc_hash//\$/'$$'}
     esc_dq=${esc_dollar//\"/\\\"}
     esc_sq=${esc_dq//\'/\\\'}
-    echo "$opt=\"$esc_sq\"" >> .config
+    echo "$opt=\"$esc_sq\"" >> $MAINPATH/.config
 done
diff --git a/patches/applyPatches.sh b/patches/applyPatches.sh
index 46369e497d3e1e0b93966bfa0aed6d36b2b94d58..735dd3ea48a43d033b46dad1c7eb1700bda5c9b1 100755
--- a/patches/applyPatches.sh
+++ b/patches/applyPatches.sh
@@ -43,9 +43,6 @@ PATCHES="./patch*/patch.sh"
 
 for p in $PATCHES
 do
-    echo "$p"
-    env | grep MYSQL | sort
-    export | grep MYSQL | sort
     $p "$@" --patch=$p
 done
 
diff --git a/utils/backup.sh b/utils/backup.sh
index 29422d8f1ba5094c26ae9953e5b1e27b72fd65d5..4fc133c6eedd6a222f50eaaef78c874e4102704b 100755
--- a/utils/backup.sh
+++ b/utils/backup.sh
@@ -27,8 +27,8 @@
 # Dump a database with all procedures, permissions, structure and data
 
 if [ -z "$UTILSPATH" ]; then
-	UTILSPATH="$(realpath $(dirname $0))"
-	export UTILSPATH
+    UTILSPATH="$(realpath $(dirname $0))"
+    export UTILSPATH
 fi
 
 # The directory which the dump is to be stored to. Do not change it here. Use
@@ -45,30 +45,15 @@ function backup() {
     database="$1"
     backupdir="$2"
 
-<<<<<<< HEAD
     # Assert backup dir
     mkdir -p "$backupdir"
+
     datastring=$(date -u --rfc-3339=ns | sed 's/ /T/g')
     backupfile=${BACKUPDIR}/${DATABASE_NAME}.${datastring}.dump.sql
-=======
-    shift 2
-    # parameters: connection, database, outfile
-    if [ -e "$NARG_FILE" ]; then
-        failure "dumpfile already exists."
-    fi
-    echo "Dumping database $NARG_NAME to $NARG_FILE ... "
-  $MYSQLDUMP_CMD $(get_mysql_args_nodb) $* --opt --default-character-set=utf8 --routines \
-                    "$NARG_NAME" > "$NARG_FILE"
->>>>>>> s-clean-up-stage
 
     if [ -e "$backupfile" ]; then
         failure "dumpfile already exists."
     fi
-<<<<<<< HEAD
-=======
-    success
-}
->>>>>>> s-clean-up-stage
 
     echo "Dumping database $database to $backupfile ... "
     $MYSQLDUMP_CMD $(get_mysql_args_nodb) --opt --default-character-set=utf8\
diff --git a/utils/load_settings.sh b/utils/load_settings.sh
index 73d63364dd582dbc514ac3c2d95a37346b5b0eed..39cc7b238a41e7940fa5576ca400961191428b06 100644
--- a/utils/load_settings.sh
+++ b/utils/load_settings.sh
@@ -34,7 +34,7 @@ if [ -z "$MAINPATH" ]; then
 fi
 
 # Make a backup of the important environment variables.
-my_env=$(export -p | grep -E '(MYSQL|DATABASE)')
+my_env=$(export -p | grep -E '(MYSQL|DATABASE)' || true)
 
 source "$MAINPATH/config.defaults"
 
diff --git a/utils/log.sh b/utils/log.sh
index 34f84a1b5f8f1f505dcf3bd6a9a636630233f833..ad8d508bd4a474d89f0c41f350ad770f9b4cf89b 100755
--- a/utils/log.sh
+++ b/utils/log.sh
@@ -37,15 +37,15 @@ fi
 # load useful functions #######################################################
 . $UTILSPATH/helpers.sh
 
-function get_logs { 
+function get_logs {
     echo 'select event_time, argument from mysql.general_log where command_type="Query";' | \
-		$MYSQL_CMD $(get_db_args_nodb) --batch 
+		$MYSQL_CMD $(get_db_args_nodb) --batch
 }
 
-function set_logging { 
+function set_logging {
     echo "Setting logging $1..."
     echo "SET GLOBAL log_output = 'TABLE'; SET GLOBAL general_log = '$1';" | \
-        $MYSQL_CMD $(get_db_args_nodb) --batch 
+        $MYSQL_CMD $(get_db_args_nodb) --batch
 	success
 }
 
diff --git a/utils/make_db b/utils/make_db
index 323a116f230a142b0ba0db21b41ef3fe3b96a42c..6af1a36339fe6ddd9d06858f5ca19913d1b9c73a 100755
--- a/utils/make_db
+++ b/utils/make_db
@@ -127,7 +127,6 @@ function restore_db() {
 }
 
 function test-connection() {
-    echo $MYSQL_CMD $(get_mysql_args_nodb) -e "select 0;"
     $MYSQL_CMD $(get_mysql_args_nodb) -e "select 0;"
 }