doors now respond to flags two ways