attempt to wrap fold script to drupal script