Manifest permission and WS custom action fixes