Changed level generation to work with network