Updated config and example with better docs

Added new global config options