add appid and other settings