PMXTC-37 removed script tag as own field arrays and added script to first line of field array