update scripts and Gemfile