Tweak to get permissions to work + more info.