fuck gotta use permissions instead of optional_permissions