Adjustment to set the appname when using agent commands
Remove old stale file that slipped in from older version