APT : added ability to specify APPID to aptInit