make it usable from cmd line