Updates to allow for empty appid