Added single process mode.