SQF, SQM and FSM scripts