some basic logging and a minimal cli script