Added Error checking and default for bCustom(false)