Dear sidianJ,
You should check the id of the CRED form. In the example I gave you it was 774, so if in this new host you have a new ID for the CRED form you have to replace this with the new one. Because the code will only affect that one form.
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Regards,
Ana