You can do this in a single configure block.