moved global configuration variables in a header