We present a routine for calculating and producing customized/parametric femtosecond laser pulses for investigating molecular processes involving the polarization. It is applied on the ionization of NaK molecules by feedback-loop optimization using the recently introduced double-pass "serial setup" that is capable of phase, amplitude, and polarization modulation. The temporal subpulse encoding uses the parameters distance, intensity, zero order spectral phase, and polarization state.