normalize card script