json.array! @script do |scpt|
json.id scpt.id
json.scptname scpt.script_type
json.description scpt.description
end