Optimizes packaged app