Move useWorms and waterIds to the global scope (as they were before).