make locals configurable