diff --git a/src/Handler.php b/src/Handler.php
index 23d11aa8cfddb0b75aea34926a15a4be89d4c714..5d9e9a33f148b9fd313f4609efddb7bf93de2859 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -182,11 +182,11 @@ class Handler extends BaseHandler {
     // Directory where this plugin is being installed.
     $pluginRoot = $installationManager->getInstallPath($this->getPackage('lakedrops/docker4drupal'));
 
-    // If the d8-project-scaffold plugin is present we only execute this one
-    // if $force is TRUE. This way we can make sure that we get executed after
-    // d8-project-scaffold.
+    // If the d8-project-scaffold or d9-project-scaffold  plugin is present we
+    // only execute this one if $force is TRUE. This way we can make sure that
+    // we get executed after d8-project-scaffold or d9-project-scaffold.
     $settingsPath = $webRoot . '/sites/default';
-    if ($this->getPackage('lakedrops/d8-project-scaffold')) {
+    if ($this->getPackage('lakedrops/d8-project-scaffold') || $this->getPackage('lakedrops/d9-project-scaffold')) {
       if (!$fs->exists($projectRoot . '/settings/default')) {
         return;
       }