Change generator from resource to item