Rewrote as c-services to have root permissions.