bug fixes to weighted_score plugin
Add gemfile