fix script to run
remove unnecessary logs
create json file after finishing