rm unused var
make executable, add shebang