Made duplicate scripts so that it is easy to switch between networking and standalone mode