Fix generate-sh property generation