make option vars global