Alternate ways to call a function inside a .module file of a module
You should make a drush command. It's not very hard: 

function quickdraw_xx_xx_drush_command() {
  $items = array();
  // Name of the drush command.
  $items['quickdraw_xx_xx_additionalfunction'] = array(
    'description' =&gt; 'A quickdraw additional function.',
    'callback' =&gt; 'quickdraw_xx_xx_additionalfunction',
  );
  return $items;
}


This way, Drupal will bootstrap and everything you need will be there, including dependencies to other files.