changed command structure to have app/ver/inst on top-level