got auto-generated custom tools working

Tested with SimpleOres2. Still need to work out automatic icons.