revised to run as admin, not root