extracting config requirements into optional options