fix dscript generator bugs