I really dislike having global options affect the operation of a function. Is there any way you could make this an additional argument?