removed redundancy with scripts in the json