moved lots of analysis options into global options