Rewrite of the script to use Drupal settings and update of README