Fixed copy command
Fixed regions in json generation