diff --git a/config.php b/config.php
index 278b0c0..09957cb 100644
--- a/config.php
+++ b/config.php
@@ -5,7 +5,7 @@ $SCANSDIR = "scans";
$STYLESHEETSDIR = "stylesheets";
$NMAP = "sudo nmap"; # nmap command, E.g. 'nmap', 'sudo nmap' for root privileges or '/usr/bin/nmap' if not in PATH
-$LANSCANOPTIONS = "-PSmicrosoft-ds -F -T5 --datadir . --script http-info,smb-shares-size --script-args-file script-args.ini -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/lanScan.xsl";
-$HOSTSCANOPTIONS = "-A -T5 --datadir . --script http-info,smb-shares-size --script-args-file script-args.ini -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/hostScan.xsl";
$DATADIR = ".";
-$SCRIPTARGSFILE = "script-args.ini";
\ No newline at end of file
+$SCRIPTARGSFILE = "script-args.ini";
+$LANSCANOPTIONS = "-PSmicrosoft-ds -F -T5 --datadir '$DATADIR' --script http-info,smb-shares-size --script-args-file '$SCRIPTARGSFILE' -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/lanScan.xsl";
+$HOSTSCANOPTIONS = "-A -T5 --datadir '$DATADIR' --script http-info,smb-shares-size --script-args-file '$SCRIPTARGSFILE' -oX - --stylesheet $BASEDIR/$STYLESHEETSDIR/hostScan.xsl";
\ No newline at end of file
diff --git a/index.php b/index.php
index 0fce543..c48f8a8 100644
--- a/index.php
+++ b/index.php
@@ -70,7 +70,7 @@ if (file_exists($SCANSDIR)) {
-
+