add shebang and encoding.