added rake task to set pdrs ret_codes after code refactoring