Add shebang line and remove whitespace