change mode and shebang