remove flags from shebang line