Switched it so only cdm path needs to be passed into the constructor.  Fixed issue with margins if 'Feeling Lucky' was selected