added supervise start and shutdown functionality