allow setting of local flag