automate stuff
sed replace, test for json2csv
no longer needed
retry to connect