Vincent added code to handle the 'base2rem50' trial type.