Renamed "generate" to "manage".
 Script with the GenerateRpd subroutine ready.