Creating a custom geoprocessing tool