added more parameters
remove debug and format json file