Modified startup waits for Agent file creation.