Remove all trailing white space in the scripts