Fixing dist script