modified tools script