diff --git a/GUI/View/Script/PythonScriptWidget.cpp b/GUI/View/Toplevel/PythonScriptWidget.cpp
similarity index 97%
rename from GUI/View/Script/PythonScriptWidget.cpp
rename to GUI/View/Toplevel/PythonScriptWidget.cpp
index 8fd609aa749cfb5934fed21aae213ce850ab7b3c..92b350ef62c7ab6b081995df834cf38340117fcf 100644
--- a/GUI/View/Script/PythonScriptWidget.cpp
+++ b/GUI/View/Toplevel/PythonScriptWidget.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Script/PythonScriptWidget.cpp
+//! @file      GUI/View/Toplevel/PythonScriptWidget.cpp
 //! @brief     Implements class PythonScriptWidget
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,7 +12,7 @@
 //
 //  ************************************************************************************************
 
-#include "GUI/View/Script/PythonScriptWidget.h"
+#include "GUI/View/Toplevel/PythonScriptWidget.h"
 #include "GUI/Application/ApplicationSettings.h"
 #include "GUI/Model/ToCore/SimulationToCore.h"
 #include "GUI/View/Info/CautionSign.h"
diff --git a/GUI/View/Script/PythonScriptWidget.h b/GUI/View/Toplevel/PythonScriptWidget.h
similarity index 85%
rename from GUI/View/Script/PythonScriptWidget.h
rename to GUI/View/Toplevel/PythonScriptWidget.h
index e85c3158ad3ac524aa0feafa4ca2e2c141ff6dd1..237c97bc5d5f989be24988a1da99085e038abe3c 100644
--- a/GUI/View/Script/PythonScriptWidget.h
+++ b/GUI/View/Toplevel/PythonScriptWidget.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Script/PythonScriptWidget.h
+//! @file      GUI/View/Toplevel/PythonScriptWidget.h
 //! @brief     Defines class PythonScriptWidget
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_SCRIPT_PYTHONSCRIPTWIDGET_H
-#define BORNAGAIN_GUI_VIEW_SCRIPT_PYTHONSCRIPTWIDGET_H
+#ifndef BORNAGAIN_GUI_VIEW_TOPLEVEL_PYTHONSCRIPTWIDGET_H
+#define BORNAGAIN_GUI_VIEW_TOPLEVEL_PYTHONSCRIPTWIDGET_H
 
 #include <QDialog>
 
@@ -46,4 +46,4 @@ private:
     QString m_outputDir;
 };
 
-#endif // BORNAGAIN_GUI_VIEW_SCRIPT_PYTHONSCRIPTWIDGET_H
+#endif // BORNAGAIN_GUI_VIEW_TOPLEVEL_PYTHONSCRIPTWIDGET_H
diff --git a/GUI/View/Toplevel/SimulationView.cpp b/GUI/View/Toplevel/SimulationView.cpp
index 3698f3f3ed2452c4329d37636060f7d83c1b8df3..48eeb18aaf7f935379a1ed8aa7663fa94ae6d159 100644
--- a/GUI/View/Toplevel/SimulationView.cpp
+++ b/GUI/View/Toplevel/SimulationView.cpp
@@ -24,7 +24,7 @@
 #include "GUI/Support/Data/SimulationOptionsItem.h"
 #include "GUI/View/Tool/Globals.h"
 #include "GUI/View/Project/ProjectManager.h"
-#include "GUI/View/Script/PythonScriptWidget.h"
+#include "GUI/View/Toplevel/PythonScriptWidget.h"
 #include "GUI/View/Tool/GroupBoxCollapser.h"
 #include "ui_SimulationView.h"
 #include <QButtonGroup>