Update main template. Use bundler correctly.