Fix generate task to use bundler