Find AC0/online automatically
Make spawncgi works properly.