Added kernel detach mode