Executing geoprocessing tools from a script