added systemd and progressbar support