Fix generate site script