Changes to make level script work with network