cleaned up rackagent