Add sudo support, fixes #69.