changes to core.rb, companies.rb, json.rb, and build.sh to commodate all versions of Drupal