modify cleanup and modify gemfile