Changed ProcessCode to ProcessScript