rewrote scaler to serve on port 10001