add shebang, normalize comments