Optimised a line

Optimised a line and removed some git lines from the bottom of the
script