moved pesky perl to tools for tidy sake