Support SVN and GIT when pulling deps
Use locals in tools script