Updated influxdb and bash scripts