diff --git a/2_difspot/gtDBBlob2SpotTable.m b/2_difspot/gtDBBlob2SpotTable.m
index 6723433ed858a423e12933c04f422ecf9ddc85ea..022c8a4559bd64adc19cd70f2b3b78047f9e4e0e 100644
--- a/2_difspot/gtDBBlob2SpotTable.m
+++ b/2_difspot/gtDBBlob2SpotTable.m
@@ -126,7 +126,7 @@ difspot_table = sprintf('%sdifspot', acq.name);
 % display some info for the log file
 fprintf('Using: flag_writeedf = %d, thr_area = %d, difspot_table = %s\n%%%%%%%%\n',flag_writeedf, thr_area, difspot_table)
 
-gtDBConnect()
+gtDBConnect('graindb.esrf.fr','gtadmin','gtadmin','graintracking')
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Loop through blobs
diff --git a/5_reconstruction/gtSetupForwardSimulation.m b/5_reconstruction/gtSetupForwardSimulation.m
index 579ef6a30cd45d164722cef073b004d6143ef072..1236c4bd25bfc2c6159c039c86ce228ac63e0949 100644
--- a/5_reconstruction/gtSetupForwardSimulation.m
+++ b/5_reconstruction/gtSetupForwardSimulation.m
@@ -6,6 +6,12 @@ function gtSetupForwardSimulation
 parameters = [];
 load('parameters.mat');
 gtDBConnect();
+
+check=inputwdefault('Do you want to recompile the function ''gtForwardSimulate_v2''? [y/n]','n');
+if strcmpi(check,'y')
+    gt_mcc('gtForwardSimulate_v2');
+end
+    
 nof_phases = length(parameters.cryst);
 
 if nof_phases > 1