fixed messages and exported register_options proc