move tools to plugin thread.