updated shebang and coding