bugfix for script command
make cli output pretty, needs more work