fixed entry point for cli