update tools, add externals option