modified some things and added a config option for tool speed