bug fixes: adding a new key; better error reporting
don't explicitly set the environment; at(1) already keeps it
environment in remote resource files
cleanup