Decision should be whether to run script in-shell (i.e. sourced)
Some comments and a slightly more robust send file