Updated to include options for google mode.