EXTEND LINEs

I have about 300 straight lines. Is there a way I could extend each line by exactly 2" on each end all at once? Each line has a unique length and axis.

NVM. I just did it with grasshopper.