fixing co scripts