We need engine here
Add spawned param so we know if we are running as a service
Check spawned param instead of service (service is not passed to spawned process)
Tell spawned serve that is is spawned