Added command process restarting and queue option