Rename to net-invoke.sh
Read IP address from SSH_CLIENT

and make commandline programs configurable through env variables.