@echo off
echo Starting all Flamenco workers...

start "Masterbox Worker" powershell.exe -NoExit -ExecutionPolicy Bypass -File "%~dp0masterbox_worker1.ps1"
timeout /t 2 >nul

start "Blender-Boss Worker" powershell.exe -NoExit -ExecutionPolicy Bypass -File "%~dp0blender-boss_worker1.ps1"
timeout /t 2 >nul

start "Echo Worker" powershell.exe -NoExit -ExecutionPolicy Bypass -File "%~dp0echo_worker1.ps1"
timeout /t 2 >nul

start "Max Worker" powershell.exe -NoExit -ExecutionPolicy Bypass -File "%~dp0max_worker1.ps1"

echo All workers have been launched in separate windows.
echo You can close this window now. 