Fix bundler issues in deploy script