Added logging for options