fixed minor bugs in the ORE cli program, tested with their script