switch to sendmail; add restart option