script file not running

- to be changed to JSON format