diff --git a/swift.c b/swift.c
index 17890b5313d59a55586a9a2ffb6154836e3b86b9..d6b8faacb2908702f01018c788b5f980657f4783 100644
--- a/swift.c
+++ b/swift.c
@@ -35,6 +35,13 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+
+/* I need to enable stuff to get something out of it */
+#define OTTER_TASK_GRAPH_ENABLE_USER 1
+#include "/home/mivkov/local/otter_oneapi2023/include/otter/otter-task-graph-user.h"
+
+
+
 /* MPI headers. */
 #ifdef WITH_MPI
 #include <mpi.h>
@@ -121,6 +128,8 @@ int main(int argc, char *argv[]) {
 
   int nr_nodes = 1, myrank = 0;
 
+  OTTER_INITIALISE();
+
 #ifdef WITH_MPI
   /* Start by initializing MPI. */
   int res = 0, prov = 0;
@@ -1939,6 +1948,9 @@ int main(int argc, char *argv[]) {
     message("resubmission command completed.");
   }
 
+
+  OTTER_FINALISE();
+
   /* Clean everything */
   if (with_verbose_timers) timers_close_file();
   if (with_cosmology) cosmology_clean(e.cosmology);