Added check for if systemd is installed