Changing config logic to allow for various targets.