modified trailing whitespace script, f-key shortcuts