updated sugar script