make the appid configurable