Candy script changes