Added shebang and encoding lines