add support for packaged apps