drupal. it turns out it is more practical to execute the script in the server where drupal lives. Created local version of the script