Only generate on demand depending on the strategy
Only set config if variable is available