Getting clientside scripts to work with co an regenerator