added default handler for cli