Fixed check for executed as a service