Added --apps option