added '.' to the end of the path so people don't have to call programs via ./script; returning env table from os.getenv if no name is given; trying to get nicer names for blocks attached to the adapter