Fix the scripts to use bundler properly