Changed data merging order to allow the user to override default parameters with custom values