modified to run a rust server