#4 auto generate appID.