working, ugly version
now with policykit