Script generation code for wheels