Fix encoding

Move encoding below shebang to allow script to be executable.