Changed shebang to make the script more portable

Changed shebang to make the script more portable. Also, trailing blanks have been removed.

Best regards