add main options.