Added decision logic to boostrap