diff --git a/source/orchestrationLogic/HEAT/dc-init.ps1 b/source/orchestrationLogic/HEAT/dc-init.ps1
index 8827ab06fdc4012861a326fa116e8c16de8ec62d..17c80bbe7c759c263d5dd078e1c7a5e181602b96 100644
--- a/source/orchestrationLogic/HEAT/dc-init.ps1
+++ b/source/orchestrationLogic/HEAT/dc-init.ps1
@@ -3,9 +3,9 @@ New-Item -Path "C:\test.txt"
 
 echo "kjort" >> C:\test.txt
 
-if( !(Test-Path -Path "C:\flag.txt")) {
+if( !(Test-Path -Path "C:\flag1.txt")) {
     echo "if"
-    New-Item -Path "C:\flag.txt"
+    New-Item -Path "C:\flag1.txt"
     # Use self as DNS
     Set-DNSClientServerAddress -InterfaceIndex (Get-NetAdapter).InterfaceIndex -ServerAddresses 127.0.0.1
     #Install ADDS
@@ -13,6 +13,13 @@ if( !(Test-Path -Path "C:\flag.txt")) {
     # Set Administrator password
     net user Administrator Rosetest1
     Import-Module ADDSDeployment
+    exit 1003
+    
+ 
+    
+}elseif(!(Test-Path -Path "C:\flag2.txt")){
+    echo "elseif"
+    New-Item -Path "C:\flag2.txt"
     $secureSafeModePwd = ConvertTo-SecureString "Rosetest1" -AsPlainText -Force
     # Setup domain
     Install-ADDSForest -DomainName "rose.local" `
@@ -20,6 +27,7 @@ if( !(Test-Path -Path "C:\flag.txt")) {
         -SafeModeAdministratorPassword $secureSafeModePwd `
         -InstallDns -NoRebootOnCompletion -force
     exit 1003
+
 }else {
     echo "else"
     New-Item -Path "C:\log.txt"
@@ -39,4 +47,4 @@ if( !(Test-Path -Path "C:\flag.txt")) {
     New-ADUser -Name "pinky" -Accountpassword (ConvertTo-SecureString "PenguinPass1" -AsPlainText -Force ) -Enabled $true -Credential $creds
 
 
-}
\ No newline at end of file
+}