Added logic to control configuration