Changed to allow user overrides on certain variables.