Adding scripts to generate rd-curves.