Replaced deprecated JCli with JApplicationCli