Change shell script to copy JSON files to another dir