small tweak to dist script