converting to packaged app from legacy packaged app