adapt patch so we can package runlevel