Make kmw functions non-private
Add hidden field handling and hidden field sc_cal_manifest_id