add tool on and off support