Now runs on client too. (Still issues with client->server)